package com.ficus.road.maintain.core.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 告警对象
 *
 * @Author hao.zhou1
 * @Since 2021/4/7 下午6:49
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UrbanRoad {
        /**
         * 结果编码
         */
    @JsonProperty("code")
    private String code;
        /**
         * 结果数据
         */
    @JsonProperty("data")
    private List<UrbanRoadData> data;
    /**
     * 结果信息
     */
    @JsonProperty("roadId")
    private String msg;

}
